package com.yanqu.road.entity.log.selectlottery;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_select_lottery_draw", autoSave = true, dataUpload = true, eventName = "tougold_draw", uploadCk = true, desc = "通用自选抽奖-抽取日志")
public class LogSelectLotteryDraw extends ServerBaseLog {

    /**
     * 活动ID
     */
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    
    /**
     * 玩家ID
     */
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;

    /**
     * 消耗天恒珠数量
     */
    @FieldTypeAnnotation(desc = "消耗天恒珠数量", dataAttribute = "item_use")
    private String cost;

    /**
     * 获得奖励
     */
    @FieldTypeAnnotation(desc = "获得奖励", dataAttribute = "item_get")
    private String reward;

    /**
     * 是否隐藏款
     */
    @FieldTypeAnnotation(desc = "是否隐藏款", dataAttribute = "is_special")
    private int isHide;

    public LogSelectLotteryDraw() {
    }

    public LogSelectLotteryDraw(int activityId, long userId, String cost, String reward, int isHide) {
        this.activityId = activityId;
        this.userId = userId;
        this.cost = cost;
        this.reward = reward;
        this.isHide = isHide;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getUserId() {
        return userId;
    }

    public String getCost() {
        return cost;
    }

    public void setCost(String cost) {
        this.cost = cost;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public int getIsHide() {
        return isHide;
    }

    public void setIsHide(int isHide) {
        this.isHide = isHide;
    }
}
